/*****************/
/*     DIVERS    */
/*****************/

body {
	font-family: "Times New Roman", "FreeSerif", serif;
	font-size: 16px;
}

a { text-decoration: none; color: black; }
a:hover { text-decoration: underline; }
a:active { color: red; }
a img {	border: none; }

.titrePage {
    text-align: center;
    width: 370px;
    margin: 21px auto;
    padding-left: 30px;
}

/* alignement à gauche */
.gc {
	text-align: left;
	padding-left: 4px;
}

/* centrage */
.ct {
	text-align: center;
}

/* alignement à droite */
.dt {
	text-align: right;
	padding-right: 4px;
}

/* mise en majuscule */
.uc {
	text-transform: uppercase;
}

/* mise en minuscule */
.lc {
	text-transform: lowercase;
}

.important {
    text-decoration: underline;
    font-size: 1.2em;
}

.cache {
    display: none;
}

/*****************************/
/*     BLOCS DE MESSAGES     */
/*****************************/

.messages {
	width: 500px;
	margin: 20px auto;
	background-color: rgb(252,230,138);
}

.messages h3 {
    margin-top: 0;
	background-repeat: no-repeat;
    background-position: center left;
	text-align: center;
    color: white;
    padding: 1px;
}

.messages > ul {
	padding-right: 15px;
}

.messages.succes { border: thin solid green; }
.messages.succes h3 {
    background-color: green;
    background-image: url(../images/success.png);
}

.messages.info { border: thin solid blue; }
.messages.info h3 {
    background-color: blue;
    background-image: url(../images/info.png);
}

.messages.avertissement { border: thin solid orange; }
.messages.avertissement h3 {
    background-color: orange;
    background-image: url(../images/warning.png);
}

.messages.erreur { border: thin solid red; }
.messages.erreur h3 {
    background-color: red;
    background-image: url(../images/error.png);
}

/*****************************/
/*         TABLEAUX          */
/*****************************/

table.liste {
   text-align: center;
   border-collapse: collapse;
   cursor: default;
}

table.liste th.actions {
	background-color:  inherit;
	border-left-style: hidden;
	border-top-style: hidden;
}

table.liste tr.impaire { background-color: rgb(240,240,240); }
table.liste tr.paire   { background-color: rgb(200,200,200); }

table.liste tr.impaire.ligneSel { background-color: rgb(255,214,183); }
table.liste tr.paire.ligneSel   { background-color: rgb(255,194,183); }

table.liste th, table.liste th a, table.liste th a:visited {
   text-decoration: none;
   background-color: black;
   color: white;
   margin: 0 3px;
}

table.liste th, table.liste td {
	border: 1px solid white;
}

table.liste tbody tr:hover { background-color: rgb(255,184,153); }
table.liste tbody tr.ligneSel:hover { background-color: rgb(255,184,153); }


/************************************/
/*           FORMULAIRES            */
/************************************/

/**** erreurs de saisie - formulaire ****/

.erreursForm {
	width: 500px;
	margin: 20px auto;
	background-color: rgb(252,230,138);
	border-bottom: thin solid red;
	border-left: thin solid red;
	border-right: thin solid red;
}

.erreursForm h3 {
	background: red url(../images/error.png) no-repeat center left;
	color: white;
	text-align: center;
}

.erreursForm > ul {
	padding-right: 15px;
}


/************************************/
/*             BOUTONS              */
/************************************/

a.bouton {
	text-decoration: none;
	padding: 2px 7px;
	font-family: Arial, "FreeSans", Verdana, serif;
	font-size: medium;
    color: black;
    background-color: rgb(218,218,218);
    border: 2px silver outset;
    cursor: pointer;
}

a.bouton:active {
    border: 2px silver inset;
}

a.boutonDesactive {
	text-decoration: none;
	padding: 2px 7px;
	font-family: Arial, "FreeSans", Verdana, serif;
	font-size: medium;
    color: rgb(150,150,150);
    background-color: rgb(218,218,218);
    border: 2px silver outset;
    cursor: default;
}

a.boutonDesactive img {
	opacity: 0.4;
}

input[type="submit"], input[type="reset"], input[type="button"] {
    border-top-color: silver;
    border-right-color: silver;
    border-left-color: silver;
    font-family: Arial, "FreeSans", Verdana, serif;
    font-size: medium;
    color: black;
    background-color: rgb(218,218,218);
    cursor:pointer;
}

p.boutons {
	text-align: center;
}


/************************************/
/*             ONGLETS              */
/************************************/

.onglets {
	position: relative;
	width: 750px;
	margin: auto;
	height: 2em;
	margin-top: 17px;
	padding-bottom: 1px;
}

.onglets > ul {
    font: bold 11px verdana, arial, "FreeSans", sans-serif;
    list-style-type: none;
    padding-bottom: 24px;
    border-bottom: 1px solid #AF4600;
    margin: 0;
    margin-bottom: 15px;
}

.onglets > ul > li {
    float: left;
    height: 21px;
    background-color: #ED9C4E;
    margin: 2px 2px 0 2px;
    border: 1px solid #AF4600;
}

.onglets > ul > li.selected {
    border-bottom: 1px solid #fff;
    background-color: #fff;
}

.onglets > ul > li > a {
    float: left;
    display: block;
    color: #333;
    text-decoration: none;
    padding: 4px;
}

.onglets > ul > li:hover {
    background: #fff;
}


/*****************************/
/*            MENU           */
/*****************************/

#menu { position: absolute; top: 15px; left: 15px; width: 250px; }

#menu img#logo {
    float: left;
    height: 43px;
    width: 70px;
}

/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/simple_vertical.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */

/* Add a margin - for this demo only - and a relative position with a high z-index to make it appear over any element below */
.menu {margin:10px 0 10px 80px; position:relative; width:160px; height:25px; z-index:100;}

/* Get rid of the margin, padding and bullets in the unordered lists */
.pmenu, .pmenu ul {padding:0; margin:0; list-style-type: none;}

.pmenu > li > a {color: #fff !important;}
.pmenu > li.drop {background:#CF6600 url(../images/drop.gif) no-repeat right center !important;}
.pmenu > li:hover > a {background:#ED9C4E !important;}

/* Set up the link size, color and borders */
.pmenu a, .pmenu a:visited {display:block;width:140px; font-size:14px; color:#000; height:25px; line-height:24px; text-decoration:none; text-indent:5px; border:1px solid #000; border-width:1px 1px 1px 1px;}

/* Set up the sub level borders */
.pmenu li ul li a, .pmenu li ul li a:visited {border-width:0 1px 1px 1px;}
.pmenu li a.enclose, .pmenu li a.enclose:visited {border-width:1px;}

/* Set up the list items */
.pmenu li {float:left; background:#ddd;}

/* For Non-IE browsers and IE7 */
.pmenu li:hover {position:relative;}
/* Make the hovered list color persist */
.pmenu li:hover > a {background:#EDB37B;}
/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
.pmenu li ul {display:none;}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
.pmenu li:hover > ul {display:block; position:absolute; top:-11px; left:80px; padding:10px 30px 30px 30px; background:transparent url(../images/transparent.gif); width:120px;}
/* Position the first sub level beneath the top level liinks */
.pmenu > li:hover > ul {left:-30px; top:16px;}

/* get rid of the table */
.pmenu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html .pmenu li a:hover {position:relative; background:#EDB37B; color:#fff;}

/* For accessibility of the top level menu when tabbing */
.pmenu li a:active {background:#EDB37B; color:#fff;}

/* Set up the pointers for the sub level indication */
.pmenu li.fly {background:#ddd url(../images/fly.gif) no-repeat right center;}
.pmenu li.drop {background:#ddd url(../images/drop.gif) no-repeat right center;}


/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */

/* change the drop down levels from display:none; to visibility:hidden; */
* html .pmenu li ul {visibility:hidden; display:block; position:absolute; top:-11px; left:80px; padding:10px 30px 30px 30px; background:transparent url(../images/transparent.gif);}

/* keep the third level+ hidden when you hover on first level link */
.pmenu li a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
.pmenu li a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
.pmenu li a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the sixth level hidden when you hover on fourth level link */
.pmenu li a:hover ul a:hover ul a:hover ul a:hover ul ul {
visibility:hidden;
}

/* make the second level visible when hover on first level link and position it */
.pmenu li a:hover ul {
visibility:visible; left:-30px; top:14px; lef\t:-31px; to\p:15px;
}

/* make the third level visible when you hover over second level link and position it and all further levels */
.pmenu li a:hover ul a:hover ul{
visibility:visible; top:-11px; left:80px;
}
/* make the fourth level visible when you hover over third level link */
.pmenu li a:hover ul a:hover ul a:hover ul {
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
.pmenu li a:hover ul a:hover ul a:hover ul a:hover ul {
visibility:visible;
}
/* make the sixth level visible when you hover over fifth level link */
.pmenu li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul {
visibility:visible;
}
/* If you can see the pattern in the above IE5.5 and IE6 style then you can add as many sub levels as you like */
